package com.macro.mall.portal.dao;

import com.macro.mall.portal.domain.UmsTagsComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * @Author：Minxiao-Hao
 * @Description: 商品评价标签
 * @name：UmsTagsService
 * @Date：2024/10/26 14:12
 */

public interface UmsTagsCommentDao {

    void addTags(@Param("commentId") Integer commentId, @Param("tagsIds") List<String> tagsIds);

    List<Integer> findByCommentId(Integer commentId);

    List<UmsTagsComment> findByCommentIds(@Param("allCommentIds") List<Integer> allCommentIds);
}
